import java.util.regex.Matcher;
import java.util.regex.Pattern;

class IdInfo{
    private String id; // 身份证号码
    private String birthday; // 出生年月日
    private int sex; // 性别, 1:男, 0:女

    public IdInfo(String id, String birthday, int sex) {
        this.id = id;
        this.birthday = birthday;
        this.sex = sex;
    }

    public void setId(String id) {
        this.id = id;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    @Override
    public String toString() {
        return "IdInfo{" +
                "id='" + id + '\'' +
                ", birthday='" + birthday + '\'' +
                ", sex=" + sex +
                '}';
    }
}

public class Task {

    public static void main(String[] args) {
        String data = "来黑马程序员学习Java，\n" +
                "电话：18512516758，18512508907\n" +
                "或者联系邮箱： boniu@itcast.cn\n" +
                "身份证： 440306199512131548\n" +
                "座机电话：01036517895，010-98951256\n" +
                "邮箱：bozai@itcast.cn，\n" +
                "邮箱2：dlei0009@163.com，\n" +
                "身份证号：110101199001011274，\n" +
                "热线电话：400-618-9090 ，400-618-4000，\n" +
                "身份证号：21212320010213123X，\n" +
                "4006184000，4006189090\n";

        extractInfo(data);
    }
    // 身份证号正则表达式
    public static String REGEX = "\\d{6}(\\d{8})\\d{2}(\\d)([0-9]|X)";
    
    public static void extractInfo(String data) {
        /* TODO */
    }

}